High compression audio files with high quality sound. How to use in VB 5.0 ! 1)Insert OCX in VB under PROJECT/COMPONETS and a blue speaker apears in the components window 2) For the first step you can use a COMMAND button with the following two lines Private Sub Command1_Click() Dim err As Long err = Mp3Play2.Open("d:\song.mp3", "") ' "d:\song.mp3" is the path of the mp3 file Mp3Play2.Play End Sub 3) Use another COMMAND button with the following text Private Sub Command2_Click() Mp3Play1.Stop End Sub 4) Thats all ! Now you can use MPEG Audio layer 3 in your program. 5) The OCX in the root work with all Windows 95 and NT 4 version. For the ActiveX version you need a Windows update ( mfc 4.02 ). |